#pragma once

#include "IArmyPhysics.h"
#include "ArmyData.h"

class RunningSoldierPhysics : public IArmyPhysics {
protected:
	bool _onJump;
	ArmyData* _armyData;

	virtual void _initDirection();

	virtual void _setToDead(int actiondata);

	virtual void updateBeforeDead();
public:
	double startx, starty;
	RunningSoldierPhysics(ArmyData* armyData);

	virtual void setOnRun();

	virtual void setOnJump();

	virtual void update(long time);

	virtual void setIsHurt(ACTIONS action, int action_data);
};